<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
 
<s:layout-definition>
<html>
<head>
  <title><c:out value="${nadpis}" /></title>
    <s:layout-component name="head"/>
</head>
<body>
   <h1><c:out value="${title}" /></h1>
   <div id="nav">
     <ul>
       <li><s:link href="/index.jsp">index</s:link></li>
       <li><s:link href="/form.jsp">form</s:link></li>
     </ul>
   </div>
   <div id="content">
       
       <s:layout-component name="body"/>
       
    </div>
       
   <div id="footer">
       
       <s:layout-component name="footer"/>
       <s:useActionBean beanclass="cz.muni.fi.stripesdemo.controller.BaseActionBean" var="baseActionBean"/>
       Current time: ${baseActionBean.currentDate}
       
    </div>
                     
</body>
</html>
 
</s:layout-definition>